[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: NEsper (in NEsper.dll)
Determines whether the IDictionary<(Of TKey, TValue>) contains an element with the specified key.
Namespace: net.esper.compat
Assembly: NEsper (in NEsper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function ContainsKey ( _ key As TKey _ ) As Boolean |
| C# |
|---|
public bool ContainsKey ( TKey key ) |
| Visual C++ |
|---|
public: virtual bool ContainsKey ( TKey key ) sealed |
Parameters
- key
- TKey type parameter of net.esper.compat.WeakDictionary<(Of TKey, TValue>).
The key to locate in the IDictionary<(Of TKey, TValue>).
Return Value
true if the IDictionary<(Of TKey, TValue>) contains an element with the key; otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| System.ArgumentNullException | key is null. |